High-Performance Memory-Based Web Servers: Kernel and User-Space Performance
نویسندگان
چکیده
Web server performance has steadily improved since the inception of the World Wide Web. We observe performance gains of two orders of magnitude between the original process-based Web servers and today’s threaded Web servers. Commercial and academic Web servers achieved much of these gains using new or improved event-notification mechanisms and techniques to eliminate reading and copying data, both of which required new operating system primitives. More recently, experimental and production Web servers began integrating HTTP processing in the TCP/IP stack and providing zero copy access to a kernel-managed cache. These kernelmode Web servers improved upon newer user-mode Web servers by a factor of two to six. This paper analyzes the significant performance gap between the newer user-mode and kernel-mode Web servers on Linux and Windows 2000. Several user-mode and kernel-mode Web servers are compared in three areas: data movement, event notification, and communication code path. To establish a user-mode baseline, the paper measures the performance of highly optimized Web servers. The paper positions these user-mode implementations with those from related research projects. In particular, the “Adaptive Fast Path Architecture” (AFPA) is described and then used to implement kernel-mode Web servers on Linux and Windows 2000. AFPA is a platform for implementing kernel-mode network servers on production operating systems without kernel modifications. AFPA runs on Linux, Windows 2000, AIX, and S/390. The results show that kernel-mode performance greatly Philippe Joubert and Rich Neves’ current affiliation is ReefEdge Inc. email: philippe,[email protected] email: [email protected] Mark Russinovich’s current affiliation is Winternals Software, 3101 Bee Caves Rd, Austin TX 78746. email: [email protected] xemail: [email protected] exceeds the performance of user-mode servers implementing a variety of performance optimizations. The paper concludes that significant opportunities remain to bridge the gap between user-mode and kernel-mode Web server performance.
منابع مشابه
Analysis of Delivery of Web Contents for Kernel-mode and User-mode Web Servers
In this paper, the architecture of kernel-mode and user-mode webservers and the constraints that affect their performance are studied. A set of experiments have been performed to measure and analyze performance of kernel-mode and user-mode web servers on an open source Scientific Linux CERN platform. Web servers under study include kernel-mode TUX web server and user-mode Apache web server for ...
متن کاملEvaluating the performance of user-space and kernel-space web servers
There has been much debate over the past few years about the practice of moving traditional user-space applications, such as web servers, into the kernel for better performance. Recently, the user-space server web server has shown promising performance for delivering static content. In this paper we first describe how we augmented the server to enable it to serve dynamic content. We then evalua...
متن کاملUCFS-A Novel User-Space, High Performance, Customized File System for Web Proxy Servers
Web proxy caching servers play a key role in today’s Web infrastructure. Previous studies have shown that disk I/O is one of the major performance bottlenecks of proxy servers. Most conventional file systems do not work well for proxy server workloads and have high overheads. This paper presents a novel, User-space, Customized File System called UCFS that can drastically improve I/O performance...
متن کاملPerformance Analysis of Aerie under Mail Server Workloads
Inspite of the rapid advancements in storage technology, the fundamental architecture of storage in operating system remains fixed. Applications invoke the kernel to store and retrieve data and kernel invokes the file system. Recent work suggests a new class of memory called storage class memory(SCM) which blurs out the distinction between fast, expensive and volatile memory, and slow, cheap an...
متن کاملThe SASHA Architecture for Network-Clustered Web Servers
We present the Scalable, Application-Space, HighlyAvailable (SASHA) architecture for network-clustered web servers that demonstrates high performance and fault tolerance using application-space software and CommercialOff-The-Shelf (COTS) hardware and operating systems. Our SASHA architecture consists of an application-space dispatcher, which performs OSI layer 4 switching using layer 2 or layer...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001